package com.jumi.microservice.stock.service;

import com.jumi.microservice.common.exception.ExceptionSupply;
import com.jumi.microservice.stock.domain.StockMaterialAlarmDTO;
import com.jumi.microservice.stock.dto.StockMaterialRequest;
import com.jumi.microservice.stock.dto.StockMaterialResponse;

import java.util.List;

/**
 * @ClassName StockMaterialService
 * @Description
 * @Author Abel Yang
 * @Date 2020/8/21/021 14:57
 **/
public interface StockMaterialService {

    /**
     * @Description: 查询物料库存列表
     * @Param jmStockMaterialRequest
     * @Return {@link List<  StockMaterialResponse >}
     * @Throws
     * @Author Abel Yang
     * @Date 2020/8/22/022 14:21
     */
    List<StockMaterialResponse> getStockMaterialList(StockMaterialRequest jmStockMaterialRequest);

    /**
     * @Description: 设置物料预警值
     * @Param stockMaterialAlarmVo
     * @Return {@link int}
     * @Throws
     * @Author Abel Yang
     * @Date 2020/9/1/001 18:10
    */
    int setAlarmNum(StockMaterialAlarmDTO stockMaterialAlarmDTO) throws ExceptionSupply;
}
